import request from "@/utils/request.js"; // 封装的request.js文件

// 登录接口
export const loginApi = (data) => {
	return request('/login', 'POST', data, true)
}

// 退出登录接口
export const logoutApi = (data) => {
	return request('/logout', "PUT", data, true)
}